package wzc.design_pattern.behaviour.memento;

/**
 * @Author 那和不是个啥
 * @Date 2025/7/20
 * @Description
 */

public class TextEditorHistory {
    private TextMemento memento;

    public void saveMemento(TextMemento memento) {
        this.memento = memento;
    }

    public TextMemento getMemento() {
        return memento;
    }
}
